home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 August / PCgo 2008-08 (DVD).iso / interface / contents / onlineimuralub_6015 / 18845 / files / openvpn-2.0.9-gui-1.0.3-install.exe / driver / OemWin2k.inf next >
Encoding:
INI File  |  2006-10-01  |  6.7 KB  |  184 lines

  1. ; ****************************************************************************
  2. ; * Copyright (C) 2002-2006 OpenVPN Solutions LLC                            *
  3. ; *  This program is free software; you can redistribute it and/or modify    *
  4. ; *  it under the terms of the GNU General Public License version 2          *
  5. ; *  as published by the Free Software Foundation.                           *
  6. ; ****************************************************************************
  7.  
  8. ; SYNTAX CHECKER
  9. ; cd \WINDDK\3790\tools\chkinf
  10. ; chkinf c:\src\openvpn\tap-win32\i386\oemwin2k.inf
  11. ; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm
  12.  
  13. ; INSTALL/REMOVE DRIVER
  14. ;   tapinstall install OemWin2k.inf TAP0801
  15. ;   tapinstall update OemWin2k.inf TAP0801
  16. ;   tapinstall remove TAP0801
  17.  
  18. ;*********************************************************
  19. ; Note to Developers:
  20. ;
  21. ; If you are bundling the TAP-Win32 driver with your app,
  22. ; you should try to rename it in such a way that it will
  23. ; not collide with other instances of TAP-Win32 defined
  24. ; by other apps.  Multiple versions of the TAP-Win32
  25. ; driver, each installed by different apps, can coexist
  26. ; on the same machine if you follow these guidelines:
  27. ;
  28. ; (1) Rename all tapXXXX instances in this file to
  29. ;     something different (use at least 5 characters
  30. ;     for this name!)
  31. ; (2) Change the "!define TAP" definition in openvpn.nsi
  32. ;     to match what you changed tapXXXX to.
  33. ; (3) Change TARGETNAME in SOURCES to match what you
  34. ;     changed tapXXXX to.
  35. ; (4) Change TAP_COMPONENT_ID in common.h to match what
  36. ;     you changed tapXXXX to.
  37. ; (5) Change SZDEPENDENCIES in service.h to match what
  38. ;     you changed tapXXXX to.
  39. ; (6) Change DeviceDescription and Provider strings.
  40. ; (7) Change PRODUCT_STRING in constants.h to what you
  41. ;     set DeviceDescription to.
  42. ;
  43. ;*********************************************************
  44.  
  45. [Version]
  46.    Signature = "$Windows NT$"
  47.    CatalogFile = tap.cat
  48.    ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  49.    Provider = %Provider%
  50.    Class = Net
  51.  
  52. ; This version number should match the version
  53. ; number given in SOURCES.
  54.    DriverVer=09/13/2006,8.00.00.0004
  55.  
  56. [Strings]
  57.    DeviceDescription = "TAP-Win32 Adapter V8"
  58.    Provider = "TAP-Win32 Provider"
  59.  
  60. ;----------------------------------------------------------------
  61. ;                      Manufacturer + Product Section (Done)
  62. ;----------------------------------------------------------------
  63. [Manufacturer]
  64.    %Provider% = tap0801
  65.  
  66. [tap0801]
  67.    %DeviceDescription% = tap0801.ndi, tap0801
  68.  
  69. ;---------------------------------------------------------------
  70. ;                             Driver Section (Done)
  71. ;---------------------------------------------------------------
  72.  
  73. ;----------------- Characteristics ------------
  74. ;    NCF_PHYSICAL = 0x04
  75. ;    NCF_VIRTUAL = 0x01
  76. ;    NCF_SOFTWARE_ENUMERATED = 0x02
  77. ;    NCF_HIDDEN = 0x08
  78. ;    NCF_NO_SERVICE = 0x10
  79. ;    NCF_HAS_UI = 0x80
  80. ;----------------- Characteristics ------------
  81.  
  82. [tap0801.ndi]
  83.    CopyFiles       = tap0801.driver, tap0801.files
  84.    AddReg          = tap0801.reg
  85.    AddReg          = tap0801.params.reg
  86.    Characteristics = 0x81
  87.  
  88. [tap0801.ndi.Services]
  89.    AddService = tap0801,        2, tap0801.service
  90.  
  91. [tap0801.reg]
  92.    HKR, Ndi,            Service,      0, "tap0801"
  93.    HKR, Ndi\Interfaces, UpperRange,   0, "ndis5"
  94.    HKR, Ndi\Interfaces, LowerRange,   0, "ethernet"
  95.    HKR, ,               Manufacturer, 0, "%Provider%"
  96.    HKR, ,               ProductName,  0, "%DeviceDescription%"
  97.  
  98. [tap0801.params.reg]
  99.    HKR, Ndi\params\MTU,                  ParamDesc, 0, "MTU"
  100.    HKR, Ndi\params\MTU,                  Type,      0, "int"
  101.    HKR, Ndi\params\MTU,                  Default,   0, "1500"
  102.    HKR, Ndi\params\MTU,                  Optional,  0, "0"
  103.    HKR, Ndi\params\MTU,                  Min,       0, "100"
  104.    HKR, Ndi\params\MTU,                  Max,       0, "1500"
  105.    HKR, Ndi\params\MTU,                  Step,      0, "1"
  106.    HKR, Ndi\params\MediaStatus,          ParamDesc, 0, "Media Status"
  107.    HKR, Ndi\params\MediaStatus,          Type,      0, "enum"
  108.    HKR, Ndi\params\MediaStatus,          Default,   0, "0"
  109.    HKR, Ndi\params\MediaStatus,          Optional,  0, "0"
  110.    HKR, Ndi\params\MediaStatus\enum,     "0",       0, "Application Controlled"
  111.    HKR, Ndi\params\MediaStatus\enum,     "1",       0, "Always Connected"
  112.    HKR, Ndi\params\MAC,                  ParamDesc, 0, "MAC Address"
  113.    HKR, Ndi\params\MAC,                  Type,      0, "edit"
  114.    HKR, Ndi\params\MAC,                  Optional,  0, "1"
  115.    HKR, Ndi\params\AllowNonAdmin,        ParamDesc, 0, "Non-Admin Access"
  116.    HKR, Ndi\params\AllowNonAdmin,        Type,      0, "enum"
  117.    HKR, Ndi\params\AllowNonAdmin,        Default,   0, "1"
  118.    HKR, Ndi\params\AllowNonAdmin,        Optional,  0, "0"
  119.    HKR, Ndi\params\AllowNonAdmin\enum,   "0",       0, "Not Allowed"
  120.    HKR, Ndi\params\AllowNonAdmin\enum,   "1",       0, "Allowed"
  121.  
  122. ;----------------------------------------------------------------
  123. ;                             Service Section
  124. ;----------------------------------------------------------------
  125.  
  126. ;---------- Service Type -------------
  127. ;    SERVICE_KERNEL_DRIVER     = 0x01
  128. ;    SERVICE_WIN32_OWN_PROCESS = 0x10
  129. ;---------- Service Type -------------
  130.  
  131. ;---------- Start Mode ---------------
  132. ;    SERVICE_BOOT_START   = 0x0
  133. ;    SERVICE_SYSTEM_START = 0x1
  134. ;    SERVICE_AUTO_START   = 0x2
  135. ;    SERVICE_DEMAND_START = 0x3
  136. ;    SERVICE_DISABLED     = 0x4
  137. ;---------- Start Mode ---------------
  138.  
  139. [tap0801.service]
  140.    DisplayName = %DeviceDescription%
  141.    ServiceType = 1
  142.    StartType = 3
  143.    ErrorControl = 1
  144.    LoadOrderGroup = NDIS
  145.    ServiceBinary = %12%\tap0801.sys
  146.  
  147. ;-----------------------------------------------------------------
  148. ;                                File Installation
  149. ;-----------------------------------------------------------------
  150.  
  151. ;----------------- Copy Flags ------------
  152. ;    COPYFLG_NOSKIP = 0x02
  153. ;    COPYFLG_NOVERSIONCHECK = 0x04
  154. ;----------------- Copy Flags ------------
  155.  
  156. ; SourceDisksNames
  157. ; diskid = description[, [tagfile] [, <unused>, subdir]]
  158. ; 1 = "Intel Driver Disk 1",e100bex.sys,,
  159.  
  160. [SourceDisksNames]
  161.    1 = %DeviceDescription%, tap0801.sys
  162.  
  163. ; SourceDisksFiles
  164. ; filename_on_source = diskID[, [subdir][, size]]
  165. ; e100bex.sys = 1,, ; on distribution disk 1
  166.  
  167. [SourceDisksFiles]
  168. tap0801.sys = 1
  169.  
  170. [DestinationDirs]
  171.    tap0801.files  = 11
  172.    tap0801.driver = 12
  173.  
  174. [tap0801.files]
  175. ;   TapPanel.cpl,,,6   ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
  176. ;   cipsrvr.exe,,,6     ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
  177.  
  178. [tap0801.driver]
  179.    tap0801.sys,,,6     ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
  180.  
  181. ;---------------------------------------------------------------
  182. ;                                      End
  183. ;---------------------------------------------------------------
  184.